<?php include "templates/include/header.php" ?>
<?php

// filename: uploadForm.php

// first lets set some variables

// make a note of the current working directory relative to root.
$directory_self = str_replace(basename($_SERVER['PHP_SELF']), '', $_SERVER['PHP_SELF']);

// set a max file size for the html upload form
$max_file_size = 3000000; // size in bytes

// now echo the html page
?>	<form id="Upload" type="submit" name="upload" enctype="multipart/form-data" method="post">
		<p>
			<input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $max_file_size ?>">
		</p>

		<p>
			<label for="file">Fichier:</label>
			<input id="file" type="file" name="file">
		</p>

		<p>
			<input id="submit" type="submit" name="upload" value="Valider">
			<input type="submit" formnovalidate name="cancel" value="Annuler" />
		</p>

	</form>

<?php include "templates/include/footer.php" ?>
